package com.daj.pojo;

/**
 * @ Since :  1.0
 * @ Author:  DAJ
 * @ Date  :  20:18 2021/6/27
 */
public class Team {

    private Integer tid;
    private String tname;
    private String location;

    public Team() {
    }

    public Team(String tname, String location) {
        this.tname = tname;
        this.location = location;
    }

    public Team(Integer tid, String tname, String location) {
        this.tid = tid;
        this.tname = tname;
        this.location = location;
    }

    @Override
    public String toString() {
        return "Team{" +
                "tid=" + tid +
                ", tname='" + tname + '\'' +
                ", location='" + location + '\'' +
                '}';
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
}
